package cn.meibang.common.beauty.api;

import cn.meibang.common.beauty.provider.domain.BeautyConsultationOrderUser;
import cn.meibang.common.beauty.provider.request.ListOrderUserRequest;
import cn.meibang.common.beauty.provider.request.SubmitOrderRequest;
import cn.meibang.common.beauty.provider.response.BcoResponse;
import cn.meibang.common.beauty.provider.response.BcoUserResponse;
import cn.meibang.common.beauty.provider.response.SubmitOrderResponse;
import cn.meibang.common.beauty.provider.response.UserOrderResponse;

import java.util.List;

/**
 * Created by admin on 2017-5-29.
 */
public interface IBeautyConsultationOrderAPIService {

    List<BcoResponse> getAllValidOrder();

    BcoResponse getOrderById(Long id);

    BeautyConsultationOrderUser submitOrder(SubmitOrderRequest request, String ticket);

    SubmitOrderResponse getLatestSubmitOrder(Long orderId, Long userId, String openid);

    List<UserOrderResponse> getUserOrderResponse(Long userId, String openid);

    List<BcoUserResponse> listOrderUser(ListOrderUserRequest request, Long currentUserId, String ticket);

    void feedbackDeal(Long id);
}
